<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Программа представления сигнальной информации в режиме реального времени: Исходный файл /home/student/rostovcev_sergey/program/2024_winter/pk_irpsi_rrv/viewsignal/src/privatedata.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Программа представления сигнальной информации в режиме реального времени
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Программный комплекс имитации регистрации и представления сигнальной информации в режиме реального времени</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Поиск');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Поиск');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">privatedata.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="privatedata_8h.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef PRIVATEDATA_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define PRIVATEDATA_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;qreadwritelock.h&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;qmutex.h&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="signaldata_8h.html">signaldata.h</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;qvector.h&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_private_data.html">   12</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_private_data.html">PrivateData</a></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;{</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_private_data.html#aa68fe0ad6b303a27408d655fb672b88e">PrivateData</a>(<span class="keywordtype">int</span> number = 0);</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_private_data.html#aa8042796f1ebf3839dc3b6c5e8a48fb1">   19</a></span>&#160;    QReadWriteLock <a class="code" href="class_private_data.html#aa8042796f1ebf3839dc3b6c5e8a48fb1">m_lock</a>;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_private_data.html#a966e541c044fec5446a9ddf13bfd11c6">   23</a></span>&#160;    QVector&lt;QPointF&gt; <a class="code" href="class_private_data.html#a966e541c044fec5446a9ddf13bfd11c6">m_values</a>;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_private_data.html#a536251990719c1e65cc656d101e2d4ec">   28</a></span>&#160;    QMutex <a class="code" href="class_private_data.html#a536251990719c1e65cc656d101e2d4ec">m_mutex</a>;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_private_data.html#a52fdc6963a66820c93250492a078dcc9">   33</a></span>&#160;    QRectF <a class="code" href="class_private_data.html#a52fdc6963a66820c93250492a078dcc9">m_boundingRect</a>;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_private_data.html#a7e1038171a3c4862fd4143cd0de77bb0">   37</a></span>&#160;    QVector&lt;QPointF&gt; <a class="code" href="class_private_data.html#a7e1038171a3c4862fd4143cd0de77bb0">m_pendingValues</a>;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_private_data.html#a33d541ac8e674412d89887ff075a6ada">append</a>(<span class="keyword">const</span> QPointF &amp;sample);</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_private_data.html#a01f652d443eef7afb2a139b3498280da">   46</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_private_data.html#a01f652d443eef7afb2a139b3498280da">m_number</a>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;};</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">#endif // PRIVATEDATA_H</span></div><div class="ttc" id="class_private_data_html"><div class="ttname"><a href="class_private_data.html">PrivateData</a></div><div class="ttdoc">The PrivateData class класс для хранения данных (точек) </div><div class="ttdef"><b>Definition:</b> privatedata.h:12</div></div>
<div class="ttc" id="class_private_data_html_aa8042796f1ebf3839dc3b6c5e8a48fb1"><div class="ttname"><a href="class_private_data.html#aa8042796f1ebf3839dc3b6c5e8a48fb1">PrivateData::m_lock</a></div><div class="ttdeci">QReadWriteLock m_lock</div><div class="ttdoc">m_lock замок на чтение/запись основных точек m_value для потоков </div><div class="ttdef"><b>Definition:</b> privatedata.h:19</div></div>
<div class="ttc" id="class_private_data_html_a536251990719c1e65cc656d101e2d4ec"><div class="ttname"><a href="class_private_data.html#a536251990719c1e65cc656d101e2d4ec">PrivateData::m_mutex</a></div><div class="ttdeci">QMutex m_mutex</div><div class="ttdoc">m_mutex замок на буфер для будущих точек m_pendingValues для потоков </div><div class="ttdef"><b>Definition:</b> privatedata.h:28</div></div>
<div class="ttc" id="class_private_data_html_a33d541ac8e674412d89887ff075a6ada"><div class="ttname"><a href="class_private_data.html#a33d541ac8e674412d89887ff075a6ada">PrivateData::append</a></div><div class="ttdeci">void append(const QPointF &amp;sample)</div><div class="ttdoc">append метод для добавления точек в буфер </div><div class="ttdef"><b>Definition:</b> privatedata.cpp:10</div></div>
<div class="ttc" id="class_private_data_html_a7e1038171a3c4862fd4143cd0de77bb0"><div class="ttname"><a href="class_private_data.html#a7e1038171a3c4862fd4143cd0de77bb0">PrivateData::m_pendingValues</a></div><div class="ttdeci">QVector&lt; QPointF &gt; m_pendingValues</div><div class="ttdoc">m_pendingValues вектор будущих точек </div><div class="ttdef"><b>Definition:</b> privatedata.h:37</div></div>
<div class="ttc" id="class_private_data_html_a52fdc6963a66820c93250492a078dcc9"><div class="ttname"><a href="class_private_data.html#a52fdc6963a66820c93250492a078dcc9">PrivateData::m_boundingRect</a></div><div class="ttdeci">QRectF m_boundingRect</div><div class="ttdoc">m_boundingRect область отображения графика </div><div class="ttdef"><b>Definition:</b> privatedata.h:33</div></div>
<div class="ttc" id="class_private_data_html_a01f652d443eef7afb2a139b3498280da"><div class="ttname"><a href="class_private_data.html#a01f652d443eef7afb2a139b3498280da">PrivateData::m_number</a></div><div class="ttdeci">int m_number</div><div class="ttdoc">m_number номер экземпляра PrivateData </div><div class="ttdef"><b>Definition:</b> privatedata.h:46</div></div>
<div class="ttc" id="class_private_data_html_a966e541c044fec5446a9ddf13bfd11c6"><div class="ttname"><a href="class_private_data.html#a966e541c044fec5446a9ddf13bfd11c6">PrivateData::m_values</a></div><div class="ttdeci">QVector&lt; QPointF &gt; m_values</div><div class="ttdoc">m_values вектор с основными точками </div><div class="ttdef"><b>Definition:</b> privatedata.h:23</div></div>
<div class="ttc" id="signaldata_8h_html"><div class="ttname"><a href="signaldata_8h.html">signaldata.h</a></div></div>
<div class="ttc" id="class_private_data_html_aa68fe0ad6b303a27408d655fb672b88e"><div class="ttname"><a href="class_private_data.html#aa68fe0ad6b303a27408d655fb672b88e">PrivateData::PrivateData</a></div><div class="ttdeci">PrivateData(int number=0)</div><div class="ttdef"><b>Definition:</b> privatedata.cpp:3</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
